set lazdir=d:\dev\lazarus
set cfgdir=d:\dev\lazarus\config
set prjdir=d:\prj\pas\orcisg\trunk

%lazdir%\lazbuild  --pcp=%cfgdir% --create-makefile %prjdir%\pkg\lazcef\lazcef.lpk
@echo ============================================================

%lazdir%\lazbuild  -B --pcp=%cfgdir% --create-makefile %prjdir%\src\sub\subprocess.lpi
@echo ============================================================

%lazdir%\lazbuild  -B --pcp=%cfgdir% --create-makefile %prjdir%\src\orcis.lpi
@echo ============================================================
@echo ============================================================
@echo ============================================================

@echo off
if "%1" == "install" (
	cd %prjdir%\ins
	compile
	cd %prjdir%
)

